import { postHttp, getHttp } from "../utils/http";

const api = {
    getShareList: (data) => {
        return getHttp("/getShareList", data);
    },
    upload: (data) => {
        return postHttp("/shareUpload", data);
    },
    addShare: (data) => {
        return postHttp("/addShare", data);
    }
}

export default api;